import cv2


def test():
    img = cv2.imread('card.png')

    #
    gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
    #
    blurred = cv2.GaussianBlur(gray, (5, 5), 0)
    print('', type(blurred))

    #
    cv2.imshow('src', img)
    cv2.imshow('Contour1s', blurred)
    cv2.waitKey(0)
    cv2.destroyAllWindows()


if __name__ == '__main__':
    test()
